//
//  CustomBaseSubViewController.h
//  AmountBody
//
//  Created by Qiu Jishuai on 2018/1/6.
//  Copyright © 2018年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomNextButton.h"
@class Customization;

@class CustomContainerView;

typedef NS_ENUM(NSUInteger, CustomSubviewControllerType) {
    CustomSubviewControllerTypeStyle = 0,
    CustomSubviewControllerTypeDesign,
    CustomSubviewControllerTypeDepthDesign,
    CustomSubviewControllerTypeMeasure,
    CustomSubviewControllerTypeOrderInfo
};

typedef void(^CustomSubViewControllerPushBlock)(CustomSubviewControllerType targetIndex);

@interface CustomBaseSubViewController : UIViewController
@property (nonatomic, strong) Customization *customization;
@property (nonatomic, assign) BOOL canScrollToNext;

@property (nonatomic, assign) CustomSubviewControllerType type;
@property (nonatomic, assign) CustomSubviewControllerType target;

@property (nonatomic, copy) CustomSubViewControllerPushBlock pushBlock;
@property (nonatomic, strong) CustomContainerView *rightContainerView;
@property (nonatomic, strong) UIView *leftView;
@property (nonatomic, strong) UIView *rightView;
@property (nonatomic, strong) CustomNextButton *nextButton;
@end
